Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If specified, --gpu flag overrides SolverParameter solver_mode. #961

Merged
merged 1 commit into from
Aug 21, 2014

Conversation

jeffdonahue
Copy link
Contributor

fixes #925

@jeffdonahue
Copy link
Contributor Author

gflags protip: if you use the flag --tryfromenv=gpu (as in caffe train --tryfromenv=gpu) you can specify the flag as an env var (export FLAGS_gpu=1 for device ID 1), which is IMO often the most convenient way to specify it

@shelhamer
Copy link
Member

Thanks for the fix Jeff -- please merge and cherry-pick to master when you feel like it.

github protip: if you include "closes #924" or the like in your commit message github will close the corresponding issue automatically once the commit reaches master.

jeffdonahue added a commit that referenced this pull request Aug 21, 2014
If specified, --gpu flag overrides SolverParameter solver_mode.
@jeffdonahue jeffdonahue merged commit 797217e into BVLC:dev Aug 21, 2014
mitmul pushed a commit to mitmul/caffe that referenced this pull request Sep 30, 2014
…r-mode

If specified, --gpu flag overrides SolverParameter solver_mode.
RazvanRanca pushed a commit to RazvanRanca/caffe that referenced this pull request Nov 4, 2014
…r-mode

If specified, --gpu flag overrides SolverParameter solver_mode.
@jeffdonahue jeffdonahue deleted the gpu-flag-overrides-solver-mode branch March 14, 2015 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants